// eso es una prueba
/*
 *  analysis.cpp
 *  EPPI-0.0
 *
 *  Created by Juan Carlos Garcia Orden on 15/11/07.
 *
 */

#include "analysis.h"

Analysis::Analysis()
:	name(""),
	type(""),
	dim(3),
	haveToRebuild(false),
	changeLoads(false),
	parentSim(),
	vProc(),
	isVelNeeded(false),
	graphicsFormat(),
	graphicsPath(),
	graphicsStep(),
	printDofsFlag(0),
	printEnerFlag(0),
	printIterFlag(0),
	printTempFlag(0),
	printEntropyFlag(0),
	printAMFlag(0),
	printConFlag(0),
	printPProjFlag(0),
	printStressFlag(0),
	printTimeFlag(0),
	plotDispFlag(0),
	plotProcFlag(0),
	plotStressFlag(0),
	augLagFlag(0),
	augConvergence(0),
	augConvergenceTot(0),
	augIter(0),
	maxIterLambda(20),
	calcM(true),
	integratorType(0),
	projFlag(false),
	autoProjFlag(0),
	implicitFlag(true),
	lumpedMassFlag(false)
{}

// ***

Analysis::Analysis(string &na, string &ty, int d, string &gf, string &gp, double &gs, Simulation* pSim)
:	name(na),
	type(ty),
	dim(d),
	haveToRebuild(false),
	changeLoads(false),
	parentSim(pSim),
	vProc(),
	isVelNeeded(false),
	graphicsFormat(gf),
	graphicsPath(gp),
	graphicsStep(gs),
	printDofsFlag(0),
	printEnerFlag(0),
	printIterFlag(0),
	printTempFlag(0),
	printEntropyFlag(0),
	printAMFlag(0),
	printConFlag(0),
	printPProjFlag(0),
	printStressFlag(0),
	printTimeFlag(0),
	plotDispFlag(0),
	plotProcFlag(0),
	plotStressFlag(0),
	augLagFlag(0),
	augConvergence(0),
	augConvergenceTot(0),
	augIter(0),
	maxIterLambda(20),
	calcM(true),
	integratorType(0),
	projFlag(false),
	autoProjFlag(0),
	autoProjType(),
	implicitFlag(true),
	lumpedMassFlag(false)
{}

// ***

Analysis::Analysis(string &na, string &ty, int d, bool rebuild, bool reset, string &gf, string &gp, double &gs)
:	name(na),
	type(ty),
	dim(d),
	haveToRebuild(rebuild),
	changeLoads(reset),
	parentSim(),
	vProc(),
	isVelNeeded(false),
	graphicsFormat(gf),
	graphicsPath(gp),
	graphicsStep(gs),
	printDofsFlag(0),
	printEnerFlag(0),
	printIterFlag(0),
	printTempFlag(0),
	printEntropyFlag(0),
	printAMFlag(0),
	printConFlag(0),
	printPProjFlag(0),
	printStressFlag(0),
	plotDispFlag(0),
	plotProcFlag(0),
	plotStressFlag(0),
	augLagFlag(0),
	augConvergence(0),
	augConvergenceTot(0),
	augIter(0),
	maxIterLambda(20),
	calcM(true),
	integratorType(0),
	projFlag(false),
	autoProjFlag(0),
	autoProjType(),
	implicitFlag(true),
	lumpedMassFlag(false)
{}

// ***

/*
void Analysis::setProc(const vector<Process*>& v)
{
	vProc = v;
}
*/

